package com.stenio.fancat.domain.user;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.stenio.fancat.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_user_relationship_name")
public class UserRelationshipName extends BaseEntity {

    /** 序列化ID */
    private static final long serialVersionUID = 6013254811348385600L;

    /** 自增主键 */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("relationship")
    private Integer relationship;
    @TableField("relationship_name")
    private String relationshipName;
}
